package com.shop.service;

import com.shop.entity.MessageBoard;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.MessageBoardHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2023-03-06
 */
public interface MessageBoardService extends IService<MessageBoard> {
    /**
     * 0:待审核 1 审核通过
     */
    public static final int PASS = 1;
    public static final int UNPASS = 0;

    List<MessageBoardHistory> getByUserName(@Param("userName") String userName);
}
